package com.ims.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ims.pojo.Device;
import com.ims.util.PageResult;
import com.ims.util.QueryPageBean;

public interface DeviceService extends IService<Device> {

    boolean add(Device device);

    /**
     * 分页查询
     * @param queryPageBean
     * @return
     */
    PageResult<JSONObject> findPage(QueryPageBean queryPageBean);
}
